<!-- 页头 -->
<template>
  <div style="margin:0 20px 23px 10px">
      <i class="el-icon-back" style="padding-right:20px;cursor: pointer;" @click="back()"> 返回</i> 
      <span class="content">{{content}}</span></div>
</template>

<script>
export default {
  props: {
    content: String,
  },
  data() {
    return {};
  },
  methods:{
      back(){
          this.$emit('back')
      }
  }
};
</script>

<style  scoped>
.content{
  padding-left: 20px;
  border-left:2px solid darkgray ;
  font-size: 18px;
  
}
</style>
